﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SCRUM.Core.BusinessObjects
{
    /// <summary>
    /// Business object for daily work progress.
    /// </summary>
    [Serializable()]
    public class DailyWorkProgress
    {        
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="date">Date of progress</param>
        /// <param name="storyPoints">Story points burned down</param>
        /// <param name="stateID">ID of State</param>
        public DailyWorkProgress(DateTime date, double storyPoints, int stateID)
        {
            this.Date = date;
            this.StoryPoints = storyPoints;
            this.StateID = stateID;
        }

        /// <summary>
        /// Gets or sets the date.
        /// </summary>
        /// <value>The date.</value>
        public DateTime Date { get; set; }

        /// <summary>
        /// Gets or sets the story points.
        /// </summary>
        /// <value>The story points.</value>
        public double StoryPoints { get; set; }

        /// <summary>
        /// Gets or sets the state ID.
        /// </summary>
        /// <value>The state ID.</value>
        public int StateID { get; set; }
    }
}
